home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
DJEMU106.ARJ
/
MAIN.CC
< prev
next >
Wrap
C/C++ Source or Header
|
1992-04-07
|
403b
|
36 lines
#include <stdlib.h>
#include <stdio.h>
#define TEST 0
extern void emu_install();
extern void emu_printall();
#if TEST
double a=10, b=16;
float f=3.3;
int i=3;
void test()
{
asm("fldl _b");
asm("fldl _a");
emu_printall();
asm("fdivr %st,%st(1)");
emu_printall();
}
#endif
main()
{
#if TEST
test();
#endif
emu_install();
#if TEST
test();
#endif
}